<?php defined('IN_ADMIN') or exit('No permission resources.'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET;?>" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title><?php echo L('phpcms_logon')?></title>
    <script src="//cdn.bootcss.com/jquery/3.1.1/jquery.min.js"></script>
    <link rel='stylesheet' id='buttons-css'  href='<?=CSS_PATH?>buttons.min.css?ver=4.3.8' type='text/css' media='all' />
    <link rel='stylesheet' id='dashicons-css'  href='<?=CSS_PATH?>dashicons.min.css?ver=4.3.8' type='text/css' media='all' />
    <link rel='stylesheet' id='login-css'  href='<?=CSS_PATH?>login.min.css?ver=4.3.8' type='text/css' media='all' />
    <link rel="stylesheet" type="text/css" href="<?=CSS_PATH?>admin.css" /><meta name='robots' content='noindex,follow' />
<script language="JavaScript">
<!--
	if(top!=self)
	if(self!=top) top.location=self.location;
//-->
</script>
</head>

<body onload="javascript:document.myform.username.focus();" class="login login-action-login wp-core-ui  locale-zh-cn">
<div id="login">
    <h1 style="    width: 320px;    height: 50px;text-align: center;"><span style="padding-top: 15px;color:#fff;    display: block; width: 200px; height: 50px; margin: 0 auto;"><?php echo $currentsite['name']?></span></h1>

    <form name="myform" id="myform" action="index.php?m=admin&c=index&a=login&dosubmit=1" method="post">
        <p>
            <label for="user_login"><?php echo L('username')?><br>
                <input type="text" name="username" id="username" class="input" value="" size="20"></label>
        </p>
        <p>
            <label for="user_pass"><?php echo L('password')?><br>
                <input type="password" name="password" id="password" class="input" value="" size="20"></label>
        </p>
        <p>
            <label for="user_pass"><?php echo L('security_code')?><br>
                <input type="text" name="code" id="code" style="ime-mode: disabled;" class="input" value="" size="20"></label>
        </p>
        <p class="forgetmenot"><label for="rememberme"><?php echo form::checkcode('code_img')?> </label></p>
        <p class="submit">
            <input type="submit" name="dosubmit" id="dosubmit" class="button button-primary button-large" value="登录">
        </p>
        <p id="nav">
            <a href="javascript:document.getElementById('code_img').src='<?php echo SITE_PROTOCOL.SITE_URL.WEB_PATH;?>api.php?op=checkcode&m=admin&c=index&a=checkcode&time='+Math.random();void(0);"><?php echo L('click_change_validate')?></a>
        </p>

    </form>

    <p id="backtoblog"><?php echo L("copyright")?></p>

</div>

</body>
</html>